Skip to content

London | ITP-May-26 | Vito Moratti | Sprint 3 | Project TV Show - #96

Open
vmoratti wants to merge 39 commits into
CodeYourFuture:mainfrom
vmoratti:main
Open

London | ITP-May-26 | Vito Moratti | Sprint 3 | Project TV Show#96
vmoratti wants to merge 39 commits into
CodeYourFuture:mainfrom
vmoratti:main

Conversation

@vmoratti

@vmoratti vmoratti commented Aug 20, 2026

Copy link
Copy Markdown

Self checklist

  • I have committed my files one by one, on purpose, and for a reason
  • I have titled my PR with REGION | COHORT_NAME | FIRST_NAME LAST_NAME | SPRINT NUM | PROJECT NAME
  • I have tested my changes
  • My changes follow the style guide
  • My changes meet the requirements of this task

Completed Project TV Show
Link to live website:
https://vmoratti.github.io/Project-TV-Show/

Link to my partner's live wwebsite:
https://gideondefar.github.io/Project-TV-Show/

vmoratti and others added 30 commits August 15, 2026 22:04
London | ITP-May-26 | Vito Moratti | SPRINT 3 | Project TV Show
London | 26-ITP-May | Gideon Defar | Sprint 3 |Project-TV-Show Level-200
London | ITP-May-26  | Vito Moratti | Sprint 3 |Project TV Show-refactored
London | ITP-May-26 | Vito Moratti | Sprint 3 | Project TV Show/Feature/level 300
London | ITP-May-26 | Gideon Defar | Sprint 3 | Project TV Show -Level-400
@vmoratti vmoratti added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Aug 20, 2026
@LonMcGregor LonMcGregor added the Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. label Sep 7, 2026

@LonMcGregor LonMcGregor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work on this. Your code is well organised. All the functionality is met, and good use of caching as needed.

I've spotted a few things, so if you want an extra challenge now ITP is over, see if you can address them.

Comment thread index.html

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work trying to use semantic HTML,but there's a few issues in how you are using it. Have a look at https://validator.w3.org/nu/?doc=https%3A%2F%2Fvmoratti.github.io%2FProject-TV-Show%2F to get some pointers

Comment thread index.html
<!-- Level 400: choose a show from the full list -->
<section class="show-selector-control">
<select id="show-select">
<option value="">Select a show</option>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As well as the validator tool, have a look at the lighthouse tool, and see if it has any suggestions about accessibility and select elements.

Comment thread script.js
const footer = document.querySelector("footer");

// Add the TVMaze link to the footer
footer.innerHTML =

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason you set the footer in javascript rather than the HTML, which has a different footer?

Comment thread script.js
Remove the tags so that only the text is displayed.
*/
function cleanSummary(summary) {
return (summary || "").replace(/<[^>]*>/g, "");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea to consider this!

Comment thread style.css
}

/* Styling for the link used to return to the shows page */
nav a {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this make it obvious enough that this is a clickable control?

Comment thread script.js
// If there is no image, remove the empty image element
if (episode.image && episode.image.medium) {
image.src = episode.image.medium;
image.alt = `${episode.name} poster`;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the best way to use this alt tag? See what https://axesslab.com/alt-texts/ has to say

@LonMcGregor LonMcGregor added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. labels Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Reviewed Volunteer to add when completing a review with trainee action still to take.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants